const express = require('express')
const passport = require('../../passport')
const router = express.Router()

router.post('/', passport.auth, async (req, res) => {
  res.json(req.user)
})

module.exports = router